﻿using System.Collections.Generic;
using pem.data;

namespace pem.dal
{
    public abstract class DalBase
    {
        public abstract BaseObject AddObject(BaseObject data);
        public abstract BaseObject UpdateObject(BaseObject data);
        public abstract bool DeleteObject(BaseObject data);
        public abstract BaseObject GetObjectById(int id);
        public abstract List<BaseObject> GetAllObjects();
        public abstract List<BaseObject> GetObjectByName(string name);
    }
}